package org.mycub.server;

import org.mycub.server.mongodb.MongoDB;
import org.mycub.server.requester.UpdaterAgent;
public class Runtime {

	
	public static void main(String[] args) throws Exception
	{
		
		JettyServer server =  new JettyServer();
		server.start();

		MongoDB db = new MongoDB();
		db.connect();

		UpdaterAgent upAgent = new UpdaterAgent();
		upAgent.start();
		
		server.join();

	}
}
